﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Script.UI.Component;
using MTUnity.Utils;

namespace Script.UI
{

    public class WPanelData
    {
        public UI_Temperature_Data TemperatureUIData = new UI_Temperature_Data();
        public UI_Humidity_Data HumidityUIData = new UI_Humidity_Data();
        public UI_Repertory_Data RepertoryUIData = new UI_Repertory_Data();
    }

    public class UI_Temperature_Data
    {
        public class UI_Temperature_Data_Record
        {
            public float Temperature;
            public long Timestamp;
        }


        public float CurrentTemperature;
        public List<UI_Temperature_Data_Record> TemperatureRecord = new List<UI_Temperature_Data_Record>();
         
    }

    public class UI_Humidity_Data
    {
        public float CurrentHumidity;
        public List<UI_Humidity_Data_Record> HumidityRecord = new List<UI_Humidity_Data_Record>();

        public class UI_Humidity_Data_Record
        {
            public float Humidity;
            public long Timestamp;
        }
    }

    public class UI_Repertory_Data
    {
        public int TotalRepertoryInBuff;
        public int TotalRepertoryInStore;
        public List<UI_Repertory_Data_Record> RepertoryRecord = new List<UI_Repertory_Data_Record>();

        public class UI_Repertory_Data_Record
        {
            public int RepertoryInBuff;
            public int RepertoryInStore;
            public long Timestamp;
        }
    }

   
}

